package com.honeywen.mymvc.test;

/**
 * @author weiw@opera.com
 * @date 2018/8/23 下午7:29
 */
public class Course {
    private Integer userId;
    private String name;
    private Integer grade;

    public Course() {
    }

    public Course(Integer userId, String name, Integer grade) {
        this.userId = userId;
        this.name = name;
        this.grade = grade;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Course{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                ", grade=" + grade +
                '}';
    }
}
